<div class="total-bg" [ngStyle]="tagData.cssStyle | styleFilter">

  <ng-container *ngIf="tagData.data?.todayPushBit?.length > 0" >
    <div class="total-item" *ngFor="let item of tagData.data?.todayPushBit">
      <img src="assets/icon/{{item.icon}}" alt="" class="total-icon">
      <div class="total-btn">
        <p class="total-num" [innerHTML] = "item.manyBit"></p>
        <div *ngIf="item.button" appDebounceClick (debounceClick)="onClick(item.button.link)" class="button"><span>{{item.button.label}}</span></div>
      </div>
  
      <p class="total-label">{{item.label}}</p>
      
    </div>
  </ng-container>
  
  <ng-container *ngIf="tagData.data?.todayPushFamill?.length > 0" >
    <div class="total-item" *ngFor="let item of tagData.data?.todayPushFamill">
      <img src="assets/icon/{{item.icon}}" alt="" class="total-icon">
      <div class="total-btn">
        <p class="total-num" [innerHTML] = "item.manyFamill"></p>
        <div *ngIf="item.button" appDebounceClick (debounceClick)="onClick(item.button.link)" class="button"><span>{{item.button.label}}</span></div>
      </div>
  
      <p class="total-label">{{item.label}}</p>
      
    </div>
  </ng-container>

</div>

<!-- {
  "type":"tag",
  "style":"indexHeadTag",
  "name":"indexHeadTag",
  "linearLayout":"body",
  "data":{
      "todayPushBit":[
          {
              "button":{
                  "link":{
                      "type":"page",
                      "params":{

                      },
                      "target":"162203"
                  },
                  "label":"查看"
              },
              "icon":"xxx.jpg",
              "cssStyle":"xxxx",
              "label":"今日推荐成功",
              "manyBit":"今日推荐成功"
          }
      ],
      "todayPushFamill":[
          {
              "button":{
                  "link":{
                      "type":"page",
                      "params":{

                      },
                      "target":"162203"
                  },
                  "label":"查看"
              },
              "manyFamill":"258家",
              "icon":"xxx.jpg",
              "cssStyle":"xxxx",
              "label":"今日推荐成功"
          }
      ]
  }
} -->